package com.lry.triTree;

/**
 * @author JiangJie
 * @create 2020-12-09 10:52
 */
public class Node {
    Integer id;
    Node line1;
    Node line2;
    Node line3;
    Node parent;//真爸爸
    Node fakeParent;//假爸爸

    public Node(){}

    public Node(Integer id) {
        this.id = id;
    }

    public Node(Integer id, Node parent) {
        this.id = id;
        this.parent = parent;
    }
    public Node(Integer id, Node parent,Node fakeParent) {
        this.id = id;
        this.parent = parent;
        this.fakeParent = fakeParent;
    }

}
